@themeColor : #e0620d;

// 清除浮动
.clearfix {
  &:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
}

// 超出文本使用省略号
.omit {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.omit-two {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.omit-three {
  word-break: break-all;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shadow {
  box-shadow: 0 8px 27px 1px rgba(0, 41, 64, 0.14);
}

.radius {
  border-radius: 10px;
}

.hr{
  content: "";
  display: block;
  .radius();
  height: 3px;
  width: 95%;
  background-color: #dddddd;
  margin: 20px auto;
}

.btn{
  color: @themeColor;
  padding: 10px 30px;
  .flex-center();
  border: 2px solid @themeColor;
  .radius();
}

.safe-area{
  padding-bottom: constant(safe-area-inset-bottom);
  padding-bottom: env(safe-area-inset-bottom)
}